home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_cheat_allweapons.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  69 lines

  1. # Jones 3D Cog Script
  2. #
  3. # cheat_AllWeapons.cog
  4. #
  5. # [RT]
  6. #
  7. # All weapons cheat script.
  8. #
  9. # (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
  10. #
  11. # ===================================================================
  12.  
  13. symbols
  14.  
  15.     message    selected
  16.     
  17.     thing    indy        local
  18.  
  19. end
  20.  
  21. # ===================================================================
  22.  
  23. code
  24.  
  25. selected:
  26.  
  27.     indy = GetSourceRef();
  28.  
  29.     # Tokarev / ammo
  30.     SetInv(indy, 4, 500);                           
  31.     SetInvAvailable(indy, 4, 1);                                      
  32.                                                                       
  33.     # Mauser / ammo
  34.     SetInv(indy, 5, 500);                          
  35.     SetInvAvailable(indy, 5, 1);                                    
  36.  
  37.     # Simonov / ammo
  38.     SetInv(indy, 6, 500);
  39.     SetInvAvailable(indy, 6, 1);
  40.  
  41.     # Machete
  42.     SetInv(indy, 7, 1);
  43.     SetInvAvailable(indy, 7, 1);
  44.  
  45.     # Submachine / ammo
  46.     SetInv(indy, 8, 1000);
  47.     SetInvAvailable(indy, 8, 1);
  48.  
  49.     # Shotgun / ammo
  50.     SetInv(indy, 9, 50);
  51.     SetInvAvailable(indy, 9, 1);
  52.  
  53.     # Bazooka / ammo
  54.     SetInv(indy, 10, 50);
  55.     SetInvAvailable(indy, 10, 1);
  56.  
  57.     # Grenades
  58.     SetInv(indy, 11, 20);
  59.     SetInvAvailable(indy, 11, 1);
  60.  
  61.     # Satchel Charges
  62.     SetInv(indy, 12, 20);
  63.     SetInvAvailable(indy, 12, 1);
  64.  
  65.     return;
  66.  
  67. end
  68.  
  69.